import { compile } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'


const routes = [{
  path: '/',
  name: 'Home',
  component: () => import('@/views/Home.vue')
}, {
  path: '/app-one',
  name: 'oneApp',
  component: () => import('@/views/AppOne.vue'),
  meta: {
    appName: 'app-one'
  }
}, {
  path: '/app-two',
  name: 'twoApp',
  component: () => import('@/views/AppTwo.vue'),
  meta: {
    appName: 'app-two'
  }
}]


const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router